<?php
$this->pageTitle = Yii::app()->name . ' - Error';
$this->breadcrumbs = array(
    'Error',
);
?>

<!-- Error info area -->
<h2 class="red errorTitle"><span>Something went wrong here</span></h2>
<h1><?php echo $code; ?></h1>
<span class="bubbles"></span>
<p>Oops! Sorry, an error has occured.<br/>
    <?php echo CHtml::encode($message); ?>
</p>
<div class="backToDash">
    <?php echo CHtml::link("Back to Dashboard", array("site/index"), array("class" => "seaBtn button")) ?>
</div>